| Einhugur Xml Serialization Framework for Xojo |
|
XmlSerializer.Serialize Method
Serialize's a class structure

Serialize(
item
as Object,
rootName
as String)
as XmlDocument
Parameters
- item
- The item to be serialized
- rootName
- Name of the root.
Returns
- XmlDocument
- Returns Xml Document with the serialized class structure.
Remarks
All classes that are serialized must have a default constructor that has no parameters.
Dim s as XmlSerialization.XmlSerializer = new XmlSerialization.XmlSerializer()
Dim xmlDoc as XmlDocument = s.Serialize(facility1,"Facility")
See Also
XmlSerializer Class